/**
 * Created by Deng on 2016-10-7.
 */
window.appModule.factory('testAPI',factoryFn);

function factoryFn($resource){
    var actions = {
        queryUser: {
            url: '/data/test.jsp',
            method: 'post'
        }
    }
    return $resource('', {_ajaxWrapOption: {}},actions);
}